//
//  FLLAutoLayout.h
//  FLLGodOfCooking
//
//  Created by LL.F on 16/9/13.
//  Copyright © 2016年 LL.F. All rights reserved.
//

#import <UIKit/UIKit.h>

// 协议方法
@protocol AutoLayoutDelegete <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView
                   layout:(UICollectionViewLayout *)collectionViewLayout
                   height:(CGFloat)height
  widthForItemAtIndexPath:(NSIndexPath *)indexPath;
@end

@interface FLLAutoLayout : UICollectionViewLayout
@property (nonatomic, weak) id<AutoLayoutDelegete>delegate;
@end
